package com.china08.yxyapi.repository.db.live;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import com.china08.yxyapi.entity.db.live.YxyLiveLesson;

public interface YxyLiveLessonRepository extends JpaRepository<YxyLiveLesson, String> {

    public YxyLiveLesson findById(String id);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndIsVisibleAndStatusNotAndAuditStatus(String schoolId, int i,
            int j, int k, Pageable pageable);

    public List<YxyLiveLesson> findByTeacherIdAndStatusNotAndAuditStatusNot(String userId, int i, int j);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndCatalogId1AndIsVisibleAndStatusNotAndAuditStatus(
            String schoolId, String catalogId1, int i, int j, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndCatalogId2AndIsVisibleAndStatusNotAndAuditStatus(
            String schoolId, String catalogId2, int i, int j, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndCatalogId3AndIsVisibleAndStatusNotAndAuditStatus(
            String schoolId, String catalogId3, int i, int j, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndNameContainingAndIsVisibleAndStatusNotAndAuditStatus(
            String schoolId, String keyword, int i, int j, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndCatalogId1AndNameContainingAndIsVisibleAndStatusNotAndAuditStatus(
            String schoolId, String catalogId1, String keyword, int i, int j, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndCatalogId2AndNameContainingAndIsVisibleAndStatusNotAndAuditStatus(
            String schoolId, String catalogId2, String keyword, int i, int j, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndCatalogId3AndNameContainingAndIsVisibleAndStatusNotAndAuditStatus(
            String schoolId, String catalogId3, String keyword, int i, int j, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndAuditStatus(String schoolId, int i, int j,
            Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndLiveTypeAndAuditStatus(String schoolId, int i,
            int j, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndIsVisibleAndAuditStatus(String schoolId, int i,
            int j, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndCatalogId1AndAuditStatus(String schoolId, int i,
            String catalogId1, int j, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndLiveTypeAndCatalogId1AndAuditStatus(String schoolId,
            int i, int j, String catalogId1, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndIsVisibleAndCatalogId1AndAuditStatus(
            String schoolId, int i, int j, String catalogId1, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndCatalogId2AndAuditStatus(String schoolId, int i,
            String catalogId2, int j, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndLiveTypeAndCatalogId2AndAuditStatus(String schoolId,
            int i, int j, String catalogId2, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndIsVisibleAndCatalogId2AndAuditStatus(
            String schoolId, int i, int j, String catalogId2, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndCatalogId3AndAuditStatus(String schoolId, int i,
            String catalogId3, int j, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndLiveTypeAndCatalogId3AndAuditStatus(String schoolId,
            int i, int j, String catalogId3, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndIsVisibleAndCatalogId3AndAuditStatus(
            String schoolId, int i, int j, String catalogId3, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndNameContainingAndAuditStatus(String schoolId, int i,
            String keyword, int j, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndLiveTypeAndNameContainingAndAuditStatus(
            String schoolId, int i, int j, String keyword, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndIsVisibleAndNameContainingAndAuditStatus(
            String schoolId, int i, int j, String keyword, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndNameContainingAndCatalogId1AndAuditStatus(
            String schoolId, int i, String keyword, String catalogId1, int j, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndLiveTypeAndNameContainingAndCatalogId1AndAuditStatus(
            String schoolId, int i, int j, String keyword, String catalogId1, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndIsVisibleAndNameContainingAndCatalogId1AndAuditStatus(
            String schoolId, int i, int j, String keyword, String catalogId1, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndNameContainingAndCatalogId2AndAuditStatus(
            String schoolId, int i, String keyword, String catalogId2, int j, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndLiveTypeAndNameContainingAndCatalogId2AndAuditStatus(
            String schoolId, int i, int j, String keyword, String catalogId2, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndIsVisibleAndNameContainingAndCatalogId2AndAuditStatus(
            String schoolId, int i, int j, String keyword, String catalogId2, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndNameContainingAndCatalogId3AndAuditStatus(
            String schoolId, int i, String keyword, String catalogId3, int j, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndIsVisibleAndNameContainingAndCatalogId3AndAuditStatus(
            String schoolId, int i, int j, String keyword, String catalogId3, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndStatusAndLiveTypeAndNameContainingAndCatalogId3AndAuditStatus(
            String schoolId, int i, int j, String keyword, String catalogId3, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndAuditStatus(String schoolId, int i, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndAuditStatusAndCatalogId1(String schoolId, int i,
            String catalogId1, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndAuditStatusAndCatalogId2(String schoolId, int i,
            String catalogId2, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndAuditStatusAndCatalogId3(String schoolId, int i,
            String catalogId3, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndAuditStatusAndNameContaining(String schoolId, int i,
            String keyword, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndAuditStatusAndCatalogId1AndNameContaining(String schoolId,
            int i, String catalogId1, String keyword, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndAuditStatusAndCatalogId2AndNameContaining(String schoolId,
            int i, String catalogId2, String keyword, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndAuditStatusAndCatalogId3AndNameContaining(String schoolId,
            int i, String catalogId3, String keyword, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndAuditStatusAndIsVisibleAndStatusNot(String schoolId, int i,
            int j, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndAuditStatusAndCatalogId1AndIsVisibleAndStatusNot(
            String schoolId, int i, String catalogId1, int j, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndAuditStatusAndCatalogId2AndIsVisibleAndStatusNot(
            String schoolId, int i, String catalogId2, int j, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndAuditStatusAndCatalogId3AndIsVisibleAndStatusNot(
            String schoolId, int i, String catalogId3, int j, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndAuditStatusAndNameContainingAndIsVisibleAndStatusNot(
            String schoolId, int i, String keyword, int j, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndAuditStatusAndCatalogId1AndNameContainingAndIsVisibleAndStatusNot(
            String schoolId, int i, String catalogId1, String keyword, int j, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndAuditStatusAndCatalogId2AndNameContainingAndIsVisibleAndStatusNot(
            String schoolId, int i, String catalogId2, String keyword, int j, int k, Pageable pageable);

    public Page<YxyLiveLesson> findByCreaterUserSchoolIdAndAuditStatusAndCatalogId3AndNameContainingAndIsVisibleAndStatusNot(
            String schoolId, int i, String catalogId3, String keyword, int j, int k, Pageable pageable);

    public int countByCreaterUserSchoolId(String schoolId);

}
